#include <stdio.h>
enum Day
{
    Mon=1,//默认从0开始的
    Tues,
    Wed,
    Thur,
    Fri,
    Sat,
    Sun
};
int main()
{
    enum Day d = Fri;
    enum Day day = 5;//c中可以这样写，而c++中会报格式错误
    printf("%d\n",Mon);
    printf("%d\n",Tues);
    printf("%d\n",Wed);
    printf("%d\n",Thur);
    printf("%d\n",Fri);
    printf("%d\n",Sat);
    printf("%d\n",Sun);
    return 0;
}